isInstance(object: any, targetTypeConstructor: new (...args: any[]) => any) {}
I've read from https://stackoverflow.com/a/50726553/11142607 that new (...args: any[]) => any means its used as a constructor function. So is it a shortcut to: new { constructor(...args: any[]) => any}?